{%load static%}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>小盗</title>
    <link href="{% static 'bootstrap-3.3.7-dist/css/bootstrap.min.css'%}" rel="stylesheet">
    <style type="text/css">
        body{
            width: 100%;
            height: 100%;
            background-image:  url("{% static 'img/彩.jpg'%}");
            background-repeat: no-repeat;
            background-size:100% 100%;
            background-attachment: fixed;
         }  
        .page-header{
            
            font-family: 微软雅黑;
            color: white;
            background-color: rgba(0,0,0,0.5);
            height:100px;
            text-align: center;
        }
        .all{
            background-color: rgba(0,0,0,0.5)
        }
        h2{
            line-height: 3.1;
            text-align: center;
            color: white;

        }
        img{
            margin-top: 5px;
        }
        .every{
            border:solid 2px;
            border-color: rgba(255,255,255,0.5);
            height: 316px;
            width: 210px;
            margin-left: 60px;
            margin-top: 10px;

        }
        span{
            font-size: 15px;
            color:black;
            margin-top: 5px;
        }
        button{
            height: 45px;
            width: 165px;
            /*margin-left: -17px;*/
            margin-top: 10px;
        }
        
    </style>
</head>
<body>
   

    <div class="page-header"><h2>北网web小盗音乐</h2></div>
    <div class="container all">
        
        <div class="row">
            <div class = "col-md-12">
                <h2>{{head_title.0}}</h2>
                
                
               
                {%for key,value in info_dict.items%}
                <div class="col-md-4 every">
                    
                <img src="{{key}}" style="width: 169px; height:169px; "><br>
                <span>{{value.name|safe}}</span><br>
                <span>{{value.singer|safe}}</span><br>

                {{value.url}}
                
                <button type="submit" class="btn btn-primary"><a href="/music/menu/{{value.url}}" style="text-decoration: none; color: white;">Listen!</a></button>
        
                 
        
                
                </div>
            {%endfor%}

            
            </div>
    
        </div>
    </div>
    
</body>
   
 <script src="{% static 'js/jquery-3.3.1.min.js'%}"></script>
 <script src="{% static 'bootstrap-3.3.7-dist/js/bootstrap.min.js'%}"></script>
</html>
<!-- 
{{info_dict}}
{%for key,value in info_dict.items%}
{{key}}--{{value}}
{{value.1}}
{%endfor%} -->